export tag=v1.0
root:
		export ROOT=gitee.com/gechenxin/cloudnative

build:
		echo "building httpserver binary"
		mkdir -p bin/amd64
		CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -o bin/amd64 .
		mv bin/amd64/service1 bin/amd64/httpserver

release: build
		echo "building service1 container"
		docker build -t jackgege/service1:${tag} .

push: release
		echo "pushing cloudnative/service1"
		docker push jackgege/service1:${tag}